####################################
# The Bakufu - not possible to play #
#####################################

government = feudal_monarchy-upper
aristocracy_plutocracy = -2 
centralization_decentralization = 4 
innovative_narrowminded = 2
mercantilism_freetrade = -5
offensive_defensive = -1
land_naval = 0
quality_quantity = 0
serfdom_freesubjects = -5
primary_culture = yamato
add_accepted_culture = azuma
add_accepted_culture = kyushu
religion = shinto
technology_group = chinese
capital = 1020 #1020

1000.1.1 = { set_country_flag = idea_military_drill }
1000.1.1 = { set_country_flag = idea_napoleonic_warfare }
1000.1.1 = { set_country_flag = idea_vetting }

1000.1.1 = { set_country_flag = closed_society }
1000.1.1 = { set_country_flag = traditional_values }
1000.1.1 = { set_country_flag = limited_contact }
1000.1.1 = { set_country_flag = opening_society }
1000.1.1 = { set_country_flag = open_society }

1000.1.1 = { set_country_flag = mixed_country }
1000.1.1 = { set_country_flag = player_shogun }

1336.1.1 = {
	set_country_flag = emperor_northern_court
	}
1338.1.1 = { 
	set_country_flag = muromachi_jidai 
	set_country_flag = feudal_japan
	set_country_flag = kanto_kubo
	}
1333.1.1 = { 
	monarch = { 
		name = " "
		adm = 4 
		dip = 4 #Helped form coalition against shogun, but also gave too much away; caused split between northern and southern courts; fought to unify Japan for the rest of his life
		mil = 7 #A general who seized power and established a new shogunate, defeated the Hojo several times, but driven out of Kyoto
		}
	}
1335.1.1 = { } #Takauji betrays the emperor and defeats the Nitta and Kitabatake
1338.1.1 = { #Takauji is appointed shogun by the northern emperor after Go-Daigo flees Kyoto; Yoshino period begins
	government = feudal_monarchy-upper #Ashikaga seizes power from emperor Go-Daigo 
	set_country_flag = moderate_authority
	set_country_flag = shogun_authority_3
	}
1358.6.7 = { 
	monarch = { 
		name = " "
		adm = 4 #Many lords defect after Takauji died
		dip = 6 #Raised as a hostage and acted as a diplomat before his father became shogun
		mil = 4
		}
	set_country_flag = weak_authority
	clr_country_flag = moderate_authority
	}
1367.12.28 = { 
	monarch = { 
		name = " " #child ruler
		adm = 4 #Began licensed trade with China
		dip = 8 #The southern court gave up its struggle in 1392, gained important defectors from them, established embassy with China, said to have had a famous charm, had his family raised to the imperial rank in January 1407
		mil = 6 #Pacified Kyushu, suppressed pirates
		}
	clr_country_flag = shogun_authority_3
	set_country_flag = shogun_authority_9
	}
#1391 Meitoku War (Yamana attacks Kyoto but is defeated in 1392 and stripped of several fiefs)
1392.1.1 = { #The emperor is persuaded to return to Kyoto on the promise of a rotation system; Yoshino period ends
	set_country_flag = moderate_authority
	clr_country_flag = weak_authority
	}
#1399 Ouchi Yoshihiro rebels against the shogun
1400.1.1 = { #Defeat of the Ouchi establishes ten years of peace
	clr_country_flag = shogun_authority_9
	set_country_flag = shogun_authority_3
	}
#1402 Uprising in Mutsu
1407.1.1 = { #Yoshimitsu had his wife elevated to empress dowager, giving his line a claim to the imperial throne
	set_country_flag = strong_authority
	clr_country_flag = moderate_authority
	clr_country_flag = shogun_authority_9
	set_country_flag = shogun_authority_3
	}
1408.5.31 = { #Became shogun in 1394, but his father continued to be the real power until his death 
	monarch = { 
		name = " " #his father ceded his position to him when he was 9 years old
		adm = 6 #Japan suffered a famine during his reign, but also organized Muromachi administration
		dip = 4 #1408 was appointed king of Japan by the Chinese emperor, 1411 broke off relations with China, renewed north-south conflict
		mil = 6 #Defeated rebellions by Uesugi, fought Oei War against Korea
		}
	clr_country_flag = shogun_authority_3
	set_country_flag = shogun_authority_6
	}
#1413-15 uprisings by the Date & Nitta in the north, Kitabatake in Ise, and others in the home provinces
#1415-17 Uesugi Zenshu rebels against the Kanto Kubo and the Ashikaga shoguns send aid; ended in winter 1417
#1419 Oei War: Korean attack on Tsushima island, occupied by pirates, causes some friction between the two countries (but no war)
#1420 Serious famine
1423.1.1 = { 
	monarch = {
		name = " " #alcoholic youth
		adm = 3 #Terrible famine, uprisings, plague
		dip = 3 #repudiated agreement with southern court (again)
		mil = 3
		}
	clr_country_flag = shogun_authority_6
	set_country_flag = shogun_authority_3
	}
1425.3.17 = { 
	monarch = { 
		name = " " #returned to office when his son died
		adm = 3 #Did not name a successor
		dip = 6 #Established Tosenbugyo to regulate foreign affairs
		mil = 4 #Died in peasant uprising
		}
	}
#1428 Large-scale uprisings in home provinces
1428.2.3 = { 
	monarch = { 
		name = " "
		adm = 4 #Suffered multiple revolts
		dip = 4 #Resumed trade with China, suffered a revolt by Ashikaga Mochiuji (kanto kanrei), known as 'the evil shogun'
		mil = 7 #Defeated uprisings in Harima and Tamba, destroyed power of the Kanto Kanrei, murdered by Akamatsu
		}
	}
#1433 Otomo rebels
#1433 Hieizan monks rebel
#1438-9 Eikyo war (Ashikaga Mochiuji, kanto kubo, rebels and is eventually destroyed) 
1438.1.1 = { #Eikyo War: Ashikaga Mochiuji (the Kanto kubo) rebels and is destroyed
	clr_country_flag = shogun_authority_3
	set_country_flag = shogun_authority_1
	}
#1441 Granted Shimazu suzerainty over Rykuku islands
1441.7.12 = { 
	monarch = { 
		name = " " #child ruler, age 8, died falling off a horse
		adm = 3
		dip = 3
		mil = 3
		}
	#assassination of Yoshinori made the decline clear as Ashikaga vassals did little to avenge his death
	set_country_flag = moderate_authority
	clr_country_flag = strong_authority
	clr_country_flag = shogun_authority_1
	set_country_flag = shogun_authority_9
	}
1443.8.16 = { 
	monarch = {
		name = " " #child ruler, age 8
		adm = 3 #ignored politics in favor of art
		dip = 3 #had trouble siring an heir, ended up confusing the issue of inheritance and causing the Onin War
		mil = 3
		}
	clr_country_flag = shogun_authority_9
	set_country_flag = shogun_authority_6
	}
1454.1.1 = { #The Kubo is dissolved after the Meitoku war
	clr_country_flag = moderate_authority
	set_country_flag = weak_authority
	clr_country_flag = kanto_kubo 
	clr_country_flag = shogun_authority_6
	set_country_flag = shogun_authority_9
	} 
1467.5.20 = { #Onin War begins
	clr_country_flag = weak_authority
	set_country_flag = very_weak_authority 
	clr_country_flag = shogun_authority_6
	set_country_flag = shogun_authority_9
	} 
1474.1.1 = {
	monarch = {
		name = " " 
		adm = 3 #His father was the real power
		dip = 3
		mil = 4 #Died in camp during campaign
	}
}
1477.1.1 = { #The Sengoku Jidai begins
	clr_country_flag = shogun_authority_9
	set_country_flag = shogun_authority_3
	}
#1487-9 Campaign against Rokkaku Takayori of Omi
1489.1.1 = { 
	monarch = {
		name = " " #resumed direct control after his only son died
		adm = 3
		dip = 3
		mil = 3
	}
}
1490.1.27 = {
	monarch = {
		name = " "
		adm = 3
		dip = 3
		mil = 3
	}
}
1494.1.1 = {
	monarch = {
		name = " "
		adm = 3
		dip = 3
		mil = 3
	}
	clr_country_flag = shogun_authority_3
	set_country_flag = shogun_authority_0
}

1522.1.1 = {
	monarch = {
		name = " "
		adm = 3
		dip = 3
		mil = 3
	}
	clr_country_flag = shogun_authority_0
	set_country_flag = shogun_authority_8
	clr_country_flag = very_weak_authority
	set_country_flag = negligible_authority
}

1546.1.1 = {
	monarch = {
		name = " "
		adm = 3
		dip = 6
		mil = 6
	}
	clr_country_flag = negligible_authority
	set_country_flag = very_weak_authority
}

1550.1.1 = { set_country_flag = mixed_country }

1568.2.1 = {
	monarch = {
		name = " "
		adm = 3
		dip = 3
		mil = 3
	}
	clr_country_flag = very_weak_authority
	set_country_flag = negligible_authority
}

1568.10.18 = {
	monarch = {
		name = " "
		adm = 3
		dip = 3
		mil = 3
	}
}

1582.6.2 = { 	#Shogunate is abolished
	clr_country_flag = feudal_japan
	clr_country_flag = muromachi_jidai
	government = feudal_monarchy 
	} 

1600.10.21 = { 	#Battle of Sekigahara, Japan is unified
	set_country_flag = sekigahara 
	set_country_flag = edo_jidai 
	government = absolute_monarchy-upper 
	} 

